
<div class="comments">
	{{#if !goods_detail.evaluations.length}}
	<p>暂无购买评论</p>
	{{/if}}
	<table>
	{{#each goods_detail.evaluations}}
	<tr>
		<td class="first">
			<span class="title">评价等级（0-10）：</span>
			<span class="attribute">{{star_num}}</span>
		</td>
		<td class="second">{{comment.content}}</td>
		<td class="third">
			{{#if comment.commenter_info.name}}
				买家：<span>{{comment.commenter_info.name}}</span>
			{{#else}}
				匿名买家
			{{/if}}
		</td>
	</tr>
	{{/each}}
	</table>
	{{#if $Cache.eval.can_evaluation_able}}
	<hr>
	<div class="evaluation">
		<inputNumber max="10" min="0" bind-input="{{'$Cache.eval.star_num'}}" value="5"></inputNumber>
		<label>
			<input type="checkbox" bind-input="{{'$Cache.eval.isAny'}}" />匿名评价
		</label>
		<textarea bind-input="{{'$Cache.eval.content'}}"></textarea>
		<button event-click="{{'$Event.eval.submitEval'}}">提交评价</button>
	</div>
	{{/if}}
</div>